package cn.xiong.request_hystrix.mvc;

import cn.xiong.request_hystrix.mapping.CircuitBreakerHandlerMethodMapping;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

/**
 * @auther 10349 XIONGSY
 * @create 2021/8/21
 */
public class MvcConfig extends WebMvcConfigurationSupport {
    @Override
    protected RequestMappingHandlerMapping createRequestMappingHandlerMapping() {
        return new CircuitBreakerHandlerMethodMapping();
    }
}
